//
//  WBStatusDetailSectionHeaderView.h
//  WeiBo
//
//  Created by bao on 2017/10/9.
//  Copyright © 2017年 powertorque. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kWBStatusDetailSectionHeaderViewHeight 44.0f

@class WBStatusDetailSectionButton;
@class WBStatus;
@class WBStatusDetailSectionHeaderView;

typedef enum : NSUInteger {
    WBStatusDetailSectionHeaderViewClickType_Reweeted = 1,
    WBStatusDetailSectionHeaderViewClickType_Comment,
    WBStatusDetailSectionHeaderViewClickType_Praise
} WBStatusDetailSectionHeaderViewClickType;

@protocol kWBStatusDetailSectionHeaderViewDelegate <NSObject>

@optional
- (void)statusDetailSectionHeaderView:(WBStatusDetailSectionHeaderView *)sectionHeaderView didClickButtonType:(WBStatusDetailSectionHeaderViewClickType)type;

@end

@interface WBStatusDetailSectionHeaderView : UITableViewHeaderFooterView

@property (nonatomic, weak, readonly) WBStatusDetailSectionButton *reweetedButton;
@property (nonatomic, weak, readonly) WBStatusDetailSectionButton *commentButton;
@property (nonatomic, weak, readonly) WBStatusDetailSectionButton *praiseButton;
@property (nonatomic, weak, readonly) UIView *indicateView;

@property (nonatomic, strong) WBStatus *status;

@property (nonatomic, weak) id<kWBStatusDetailSectionHeaderViewDelegate> delegate;

@end

@interface WBStatusDetailSectionButton : UIButton

@end
